package com.centerm.bluetooth.dy.model;

/**
 * Created by linwenhui on 2017/4/28.
 */

public class Device {
    private String batteryPercentage, terminalId, psamNo, uid, softVersion, hardVersion, screenLight,batteryLevel;

    public String getBatteryLevel() {
        return batteryLevel;
    }

    public void setBatteryLevel(String batteryLevel) {
        this.batteryLevel = batteryLevel;
    }

    public String getBatteryPercentage() {
        return batteryPercentage;
    }

    public void setBatteryPercentage(String batteryPercentage) {
        this.batteryPercentage = batteryPercentage;
    }

    public String getTerminalId() {
        return terminalId;
    }

    public void setTerminalId(String terminalId) {
        this.terminalId = terminalId;
    }

    public String getPsamNo() {
        return psamNo;
    }

    public void setPsamNo(String psamNo) {
        this.psamNo = psamNo;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getSoftVersion() {
        return softVersion;
    }

    public void setSoftVersion(String softVersion) {
        this.softVersion = softVersion;
    }

    public String getHardVersion() {
        return hardVersion;
    }

    public void setHardVersion(String hardVersion) {
        this.hardVersion = hardVersion;
    }

    public String getScreenLight() {
        return screenLight;
    }

    public void setScreenLight(String screenLight) {
        this.screenLight = screenLight;
    }

    @Override
    public Device clone()   {
        Device device = new Device();
        device.setPsamNo(psamNo);
        device.setScreenLight(screenLight);
        device.setBatteryLevel(batteryLevel);
        device.setHardVersion(hardVersion);
        device.setSoftVersion(softVersion);
        device.setUid(uid);
        device.setTerminalId(terminalId);
        device.setBatteryPercentage(batteryPercentage);
        return device;
    }
}
